package com.infomanage.dao;

import java.util.List;

import com.infomanage.bean.SearchBean;
import com.infomanage.exception.DaoException;
import com.infomanage.po.MessageState;


public class MessageStateDAO extends BaseDAO<MessageState> {
	public MessageState find(int id) throws DaoException{
		return super.find(MessageState.class, id);
	}
	@SuppressWarnings("unchecked")
	public List<MessageState> findAll() throws DaoException {
		return super.findAll(MessageState.class);
	}
	
	@SuppressWarnings("unchecked")
	public List<MessageState> findByFields(SearchBean searchBean) throws DaoException {
		return super.findByFields(MessageState.class, searchBean);
	}
}